package com.sbd.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/mock")
public class MockController {

    /**
     * 方法未完成，会抛出异常
     * @param value 参数
     * @return 目前未支持，方法会抛出异常
     */
    @GetMapping("/unsupport/{value}")
    public String unsupport(@PathVariable("value") String value) {
        throw new UnsupportedOperationException("该方法未开发，有待后续完善");
    }
}
